runtime.hchan.lock (field)
25 uses
runtime (current package)
chan.go#L52: lock mutex
chan.go#L114: lockInit(&c.lock, lockRankHchan)
chan.go#L213: lock(&c.lock)
chan.go#L216: unlock(&c.lock)
chan.go#L223: send(c, sg, ep, func() { unlock(&c.lock) }, 3)
chan.go#L239: unlock(&c.lock)
chan.go#L244: unlock(&c.lock)
chan.go#L270: gopark(chanparkcommit, unsafe.Pointer(&c.lock), waitReasonChanSend, traceBlockChanSend, 2)
chan.go#L350: lock(&c.lock)
chan.go#L361: unlock(&c.lock)
chan.go#L402: lock(&c.lock)
chan.go#L404: unlock(&c.lock)
chan.go#L458: unlock(&c.lock)
chan.go#L562: lock(&c.lock)
chan.go#L569: unlock(&c.lock)
chan.go#L583: recv(c, sg, ep, func() { unlock(&c.lock) }, 3)
chan.go#L603: unlock(&c.lock)
chan.go#L608: unlock(&c.lock)
chan.go#L639: gopark(chanparkcommit, unsafe.Pointer(&c.lock), waitReasonChanReceive, traceBlockChanRecv, 2)
select.go#L39: lock(&c.lock)
select.go#L58: unlock(&c.lock)
select.go#L92: unlock(&lastc.lock)
select.go#L97: unlock(&lastc.lock)
stack.go#L835: lockWithRank(&sg.c.lock, lockRankHchanLeaf)
stack.go#L858: unlock(&sg.c.lock)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |